package jmine.tec.web.wicket.component;

import org.apache.wicket.ResourceReference;
import org.apache.wicket.markup.html.image.Image;
import org.apache.wicket.markup.html.panel.Panel;

/**
 * Image em formato de Panel para poder adicionar em outros lugares
 * 
 * @author Rafael Volpato
 * @date Dec 27, 2011
 */
public class InlinedImage extends Panel {

    /**
     * C'tor
     * 
     * @param id String
     * @param image image
     */
    public InlinedImage(String id, ResourceReference image) {
        super(id);
        this.add(new Image("image", image));
    }
}
